package com.cloud.business.dao;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.cloud.business.entity.Account_businessInfo;
import com.cloud.commonapi.model.Business_info;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface Business_infoMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Business_info record);

    int insertSelective(Business_info record);

    Business_info selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Business_info record);

    int updateByPrimaryKey(Business_info record);

    Account_businessInfo selectById(int id);

    List<Account_businessInfo> findAll();

    List<Account_businessInfo> selectByKeyword(String keyword);

    List<Account_businessInfo> selectByAccountId(int accountId);

    List<Account_businessInfo> selectPageExt(Page<Account_businessInfo> pageSize, @Param("account_businessInfo")Account_businessInfo account_businessInfo);

    List<Business_info> selectByOrder(int accountId);
}